Migrating a Database
Whether you are playing on your own or in a league with other
DMB owners, you may have created a fantasy league with new teams
and rosters. If so, you know that it can take a while to create the
teams, organize them into divisions and leagues, and draft the
players onto their new rosters. The Migrate command enables you to carry forward that
league structure and those rosters and use them again with the next
annual DMB Season Disk.
As an example, let's assume you've finished playing a league
season using the 2002 Season Disk and you've just installed the
2003 Season Disk. You want to set up your 2003 Season Disk to have
the same league structure as in the previous season and to carry
forward the rosters from the previous season.
The migrate command does just that. The real-life leagues and
teams are deleted and replaced by the leagues and teams from your
previous season. The league schedule is carried forward as is, with
the year updated. Any player who appeared on both season disks is
placed on the same roster that he was on the previous season; any
player on the new disk that wasn't on a roster the prior year is
added to the free agent pool. At this point, you're ready to draft
rookies, free agents, and other players who did not play the year
before.
To use the migrate command, you must have both season disks
installed. The source database is the league database for the
season just completed, and the target database is for the next
season to be played.
Universal player IDs (UIDs)
Migrate works only if both season disks are coded with unique
identifiers for each player. This is the only way that DMB can be
sure that two players with the same name are really the same
player. It is quite common to have duplicate names in the player
population, so the migration logic cannot rely on names alone.
Diamond Mind began coding players with unique identifiers in
1997. Just about every season disk that we have sold since then has
these UIDs. If you created a league with a disk purchased prior to
that date, you probably won't be able to use migrate because the
UIDs aren't there.
Upgrading your Season Disks for the purpose
of obtaining valid UIDs is not necessary because DMB now provides
tools to help you do this. When you convert a database to the latest
version of DMB, the program checks player UIDs to make sure they
are present in the converted database. If they are not present, DMB
tries to assign the appropriate UID based on an internal historical
player database. This usually accounts for most players but not
all.
For those players that are not assigned UIDs
during conversion (a default UID of -1 is usually assigned), DMB
includes a UID search command that allows you to quickly assign
one. For more information, see the help topic called Players: General Information.
Multi-team players
In DMB, if a player played on more than one team in real-life
for a season, he will have ratings for each team he played on plus
one set of combined ratings. Migrate works with the combined
version of those players. For example, if a player on a 2002 roster
played on two real-life teams in 2003, migrate puts the combined
record for that player onto the roster and leaves the team-specific
records in the free agent pool.
Manager profiles
After successfully running migrate, your league should be ready
to draft rookies and free agents for the new season. After the
draft, your managers will need to create new manager profiles (if
the computer manager will be used for some or all of the league
games) before beginning the new season.
You can do this using the Generate manager
profiles command on the Tools menu or by using the
Roster / manager
profile command on the View menu.
Salary Data
Each player record in a DMB database has room for you to enter
the player's salary. This information is optional, but if salary
information is present, it might represent:
The migration feature can carry the salary information forward
from the previous year or leave the salaries alone. It's your
choice.
Procedure
To migrate a database:
1. Select File from the DMB menu bar
and select Migrate. The following window
will appear:
2. In the first pulldown list, select the source database. The source database is the league
database for the season that you just completed.
3. In the second pulldown list, select the target database. The target database is for the next
season to be played.
4. Enter the year that should be
assigned to leagues, teams, and scheduled games that are carried
forward. For example, if the season that you just completed used
the 2002 season disk and the next season to be played is 2003, you
want the year set to 2003.
If you wish, use the checkbox to migrate salary data as well. If
the salaries on the source disk were assigned by your league, you
probably want to check this box so those salaries will be carried
forward to the target disk. If the salaries on the source disk
represent the real-life salaries for those years, you probably want
to leave this box unchecked so the target disk will contain each
player's new real-life salary.
NOTE: Diamond Mind
began supplying real-life salary information with the 1999 Season
Disk, so most DMB season disks do not have real-life salaries
anyway.
5. Click OK. You will receive
notification when the migration is complete.
|